Python v3.7 HowTos:
Convert a list of characters into a string
Flatten a shallow list
L = [10, 30, 4, -6] print(L.index(30)) # 1
See also
https://www.w3resource.com/python-exercises/list/python-data-type-list-exercise-22.php